package com.zfei.gfb.dao;

import com.zfei.gfb.model.GfbGoods;
import com.zfei.gfb.query.GfbGoodsQuery;
import com.zfei.gfb.query.h5.H5GoodsQuery;
import com.zfei.gfb.query.h5.H5MyGoodsQuery;

import java.util.List;

public interface GfbGoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GfbGoods record);

    int insertSelective(GfbGoods record);

    GfbGoods selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GfbGoods record);

    int updateByPrimaryKeyWithBLOBs(GfbGoods record);

    int updateByPrimaryKey(GfbGoods record);

    List<GfbGoods> list(GfbGoodsQuery record);

    List<GfbGoods> listBuy(H5MyGoodsQuery record);

    List<GfbGoods> listH5(H5GoodsQuery record);

    int total(GfbGoodsQuery record);

    int totalH5(H5GoodsQuery record);

    List<GfbGoods> selectByIds(List<Integer> ids);
}